package com.lty.jeeg.server.modules.fas.export;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.metadata.BaseRowModel;
import com.lty.jeeg.server.common.annotation.FieldName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author xuchen
 */
@Data
public class StockExportEntity extends BaseRowModel implements Serializable {

    private static final long serialVersionUID = -377244453854545422L;

    /**
     * 商品编码
     */
    @FieldName(value = "商品编码")
    @ExcelProperty(value ={"商品编码"},index = 0)
    private String goodsCode;

    /**
     * 商品名称
     */
    @FieldName(value = "商品名称")
    @ExcelProperty(value ={"商品名称"},index = 1)
    private String goodsName;


    /**
     * 商品分类
     */
    @FieldName(value = "商品分类")
    @ExcelProperty(value ={"商品分类"},index = 2)
    private String goodsCategoryName;

    /**
     * 总数量
     */
    @FieldName(value = "总数量")
    @ExcelProperty(value ={"总数量"},index = 3)
    private Integer totalNumber;

    /**
     * 闲置数量
     */
    @FieldName(value = "闲置数量")
    @ExcelProperty(value ={"闲置数量"},index = 4)
    private Integer idleNumber;

}
